package com.cookiesoft.game.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cookiesoft.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cookiesoft.common.annotation.Excel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 游戏账号，存储用户的游戏账号信息对象 zhen_account
 *
 * @author anc
 * @date 2024-11-05
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(resultMap = "com.cookiesoft.game.mapper.ZhenAccountMapper.ZhenAccountResult")
public class ZhenAccount extends BaseEntity {
private static final long serialVersionUID = 1L;

        /** 账号ID */
        private Long accountId;

        /** 所属用户 */
                @Excel(name = "所属用户" )
        private Long userId;

        /** 分类ID */
                @Excel(name = "分类ID" )
        private Long categoryId;

        /** 游戏账号名称 */
                @Excel(name = "游戏账号名称" )
        private String accountName;

        /** 游戏密码 */
        private String accountPassword;
        @TableField(exist = false)
        private String categoryName;
        @TableField(exist = false)
        private String platform;
        @TableField(exist = false)
        private String userName;



}
